package net.oschina.archx.spring.sequoiadb;

import com.sequoiadb.base.Sequoiadb;

/**
 * SequoiaDB 链接工厂接口
 *
 * @author Archx
 */
public interface SequoiaFactory {

    /**
     * 打开一个SequoiaDB链接
     *
     * @return
     */
    Sequoiadb getInstance() throws InterruptedException;

    /**
     * 关闭链接
     */
    void close();

}
